package com.niguang.work.labour.api.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.niguang.work.labour.api.entity.TeamUser;
import com.niguang.work.labour.api.vo.TeamListVo;
import com.niguang.work.labour.common.pojo.Result;

import java.util.Map;

/**
 * <p>
 * 'work.v_personSite' is not BASE TABLE 服务类
 * </p>
 *
 * @author 83673
 * @since 2018-11-17
 */
public interface TeamUserService extends IService<TeamUser> {

    Result getTeamListUser(Page<Map<String, Object>> page, String teamId);

    Result addTeamUser(TeamUser workTeamUser);

    Result delTeamUser(Long teamId);

    Result modifTeamUser(TeamUser workTeamUser);

    Result getTeamList(Page<TeamListVo> page, Long siteId);
}
